package cn.openea.perpartner.meily.web.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * meily_role
 * @author
 */
@Data
@TableName("meily_role")
public class Role implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private Long roleId;

    private String roleName;

    private String roleKey;

    private String roleSort;

    private String status;
    private String delFlag;
    private String userId;

    private String userName;

    private String enable;

    private String remark;
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    private String createUser;

    private String updateUser;

    /** 用户是否存在此角色标识 默认不存在 */
    @TableField(exist = false)
    private boolean flag = false;
    /** 菜单组 */
    @TableField(exist = false)
    private Long[] menuIds;
}
